package com.wchat.configurer;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "romance")
@Data
public class JwtConfig {

    @Value("${jwt.key}")
    String jwtKey ;
    @Value("${jwt.salt}")
    String jwtSalt;


}
